![]() |
Introduction to Web Development using HTML 5 |
Chapter 10: JavaScriptThis chapter examines the JavaScript programming language. By the time you finish this chapter, you will understand the following key concepts:● How to place JavaScript code within an HTML file by using the tag pair ● How to correct the cause of errors created when a programmer violates the syntax of JavaScript code ● How to use JavaScript operators to perform common arithmetic operations, such as addition, subtraction, multiplication, and division ● How JavaScript allows programmers to define and use variables to allow programs to store information as they execute ● How JavaScript’s case sensitivity can lead to errors that are difficult to correct ● How to comment or document code to explain the processing it performs ● How JavaScript supports conditional processing via the if-else and switch statements to allow programs to make decisions ● How to repeat one or more statements, known as iterative processing, with JavaScript code ● How to use JavaScript functions to break tasks into smaller pieces to simplify large programming tasks ● How to use JavaScript events, such as user mouse or keyboard operations ● How to store multiple values within a single variable using an Array object ● How to use JavaScript objects ● How to create a link using an external JavaScript file Chapter PowerPoint Presentation | ![]() |